These are the two worked examples from the RailsConf Chef tutorial. Feel free to use and amend for your own purposes.

-- Edd Dumbill